@mixin text_overflow($line:2) {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    /*设置对齐模式*/
    -webkit-line-clamp: $line;
    /*设置多行的行数，示例为2行*/
}

.announcement_publish {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: #fff;
    box-sizing: border-box;
    word-break: break-all;

    .header_top{
        position: relative;
        top: 0px;
    }

    .publish_container {
        flex: 1;
        overflow-y: auto;

        .publish_header {
            padding: 0 29px 26px 29px;
            border-bottom: 20px solid #f5f5f5;

            .title {
                font-size: 36px;
                font-weight: normal;
                font-stretch: normal;
                line-height: 48px;
                letter-spacing: 0px;
                vertical-align: middle;
                @include text_overflow();
                
                .department_tag{
                    display: inline-block;
                    vertical-align: middle;
                    height: 30px;
                    padding: 0 11px;
                    margin-left: 9px;
                    font-size: 20px;
                    color: #fff;
                    line-height: 33px;
                    border-radius: 193px;
                    box-sizing: border-box;
                    background-color: #0099ff;
                }

                .viewable_object{
                    display: flex;
                    line-height: 100px;
                    font-size: 32px;

                    .check_obj_span{
                        width: 170px;
                        white-space: nowrap;
                        margin-right: 25px;
                    }

                    .check_obj{
                        display: flex;
                        align-items: center;
                        flex-wrap: wrap;
                        padding-left: 15px;

                        .check_box_div{
                            margin: 8px 30px 8px 0;
                            display: flex;
                            &:last-child{
                                margin-right: 0;
                            }

                            .check_box{
                                font-size: 24px;
                            }
                        }

                        .no_check_obj{
                            position: relative;
                            left: 285px;
                            font-size: 28px;
                            color: #cccccc;
                        }
                    }

                }
            }

        }

        .file_container {
            padding: 30px 32px;
            background-color: #fff;
            border-bottom: 20px solid #f5f5f5;
            font-size: 28px;
            color: #050505;

            .file_container_top{
                display: flex;
                justify-content: space-between;
                align-items: center;

                .file_text{
                    font-size: 32px;
                    color: #333333;

                    .file_num{
                        color: #999999;
                        font-size: 28px;
                    }
                }

                .file_container_icon{
                    // width: 48px;
                    // height: 48px;
                    // border-radius: 50%;
                    // border: 2px solid #999999;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    // color: #999999;
                    // font-size: 48px;

                    .addIcon {
                        background: url(../images/添加.png) no-repeat;
                        background-size: 100% 100%;
                        width: 48px;
                        height: 48px;
                        // position: relative;
                        // top: 1px;
                    }
                }
            }

            .image_box {
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                margin-top: 24px;

                .imgItem_publish {
                    width: 120px;
                    height: 120px;
                    // margin-left: 25px;
                    margin-right: 25px;
                    margin-bottom: 20px;

                    .imgSrc_publish {
                        display: block;
                        width: 120px;
                        height: 120px;
                        border-radius: 5px;
                    }

                    .del_icon {
                        width: 28px;
                        height: 28px;
                        background-image: url(../images/附件-移除.png);
                        background-size: cover;
                        position: relative;
                        top: -130px;
                        left: 102px;
                        border: 3px solid #fff;
                        border-radius: 50%;
                      }
                }
            }

            .file_box_list {
                width: 100%;

                .file_item{
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    font-size: 28px;

                    .file_icon{
                        width: 49px;
                        height: 56px;
                        background-size: cover;
                    }

                    .file_info{
                        display: flex;
                        flex-direction: column;

                        .file_name{
                            width: 550px;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                            overflow: hidden;
                        }
                    }

                    .del_icon {
                        width: 36px;
                        height: 36px;
                        margin-right: 10px;
                        background-image: url(../images/附件-移除.png);
                        background-size: cover;
                      }
                }
            }
        }

        .advanced_function{
            padding: 30px 32px;
            // margin: 37px 32px 24px 32px;
            font-size: 32px;
            // border-bottom: 20px solid #f5f5f5;

            .advanced_function_btn{
                font-size: 32px;
                display: flex;
                align-items: center;
                justify-content: space-between;

                .advanced_icon{
                    width: 24px;
                    height: 22px;
                    background-size: cover;
                    opacity: 0.68;
                    background-image: url(../images/双箭头.svg);
                    transform: rotate(180deg);
                }

                .advanced_icon_open{
                    transform: none;
                }
            }

            .advanced_function_setting{
                background-color: #f8f8f8;
                padding: 42px 32px 0 32px;

                .is_top{
                    display: flex;
                    justify-content: space-between;
                    margin-bottom: 29px;
                }

                .select_equipment,
                .select_user{
                        background-color: transparent;
                }

                .select_user_num{
                    // position: relative;
                    // top: -70px;
                    // right: 20px;
                    // float: right;
                    font-size: 26px;
                    color:#999;

                    .user_num_text{
                        color:#333333;
                    }
                }

            }
        }
        
    }
    .select_user_modal,
    .select_equip_modal{
        background-color: #fff;
        flex: 1;
    }

    .select_equip_modal{
        padding: 30px 32px;
        width: calc(100vw - 64px);
        display: flex;
        flex-direction: column;

        .equip_view{
            overflow-y: auto;

            &:last-child{
                margin-bottom: 30px;
            }
        }

        .equip_name{
            padding: 20px 0;
            border-bottom: 1px solid #e5e5e5;
            display: flex;
            align-items: center;

            &:first-child{
                padding-top: 0;
            }
        }


        .equip_item{
            padding-top: 20px;

            .lg_check_box_warp {
                font-size: 30px;
            }
        }

        .equip_icon{
            width: 30px;
            height: 30px;
            margin-right: 10px;
            mask-image: url(../images/单箭头.svg);
            background-color: #999;
            transform: rotate(-90deg);
        }

        .equip_icon_open{
            transform: rotate(-180deg);
        }

      .save_btn{
            background-color: #ffffff;
            box-shadow: 0px -3px 16px 0px 
            rgba(0, 0, 0, 0.08);
            margin-top: auto;
            width: 100vw;
            margin-left: -32px;
            padding: 30px 0;
            display: flex;
            justify-content: space-evenly;
            position: fixed;
            bottom: 0;
      }
    }

    .is_weapp{
        height: 100vh;
        top: 0;
    }

    .footer_option {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        height: 200px;
        box-shadow: 0px -3px 16px 0px rgba(0, 0, 0, 0.08);

        .del{
            // border-color: rgba($color: #ff2f21, $alpha: .5);
            border-color:#F1A6AC;
        }
    }

    .preview_modal{
        background-color: #fff;
        flex: 1;
    }

    .horizontal_line{
        border-bottom: 1px solid #e5e5e5;
    }

    .horizontal_line_margin{
        margin-bottom: 20px;
    }

      .kind_one {
        flex: 1;
        height: 98px;
        text-align: start;
        line-height: 98px;
        // margin: 0 30px;
        // padding: 0 30px;
        font-size: 30px;
        border-bottom: 1px dashed #e5e5e5;
        border-bottom: 1px solid rgba($color: #e5e5e5, $alpha: 0.6);
        padding-left: 30px;

        &:first-child {
          border-bottom: 1px dashed #e5e5e5;
        }
      }

      .lg-cell-common{
        .title {
            margin-left: 0;
            font-size: 32px !important;
            line-height: 1 !important;
        }
    
        .right{
            margin-right: 0;
    
            .icon{
                height: 40px;
            }
            
            .content{
                color: #cccccc;
            }
        }
    }
}

.custom_confirm_box {

    .title,
    .text {
        text-align: center;
    }

    .title {
        font-weight: 700;
        font-size: 34px;
        font-stretch: normal;
        line-height: 48px;
        letter-spacing: 0px;
        color: #000000;
    }

    .text {
        margin-top: 30px;
        font-family: PingFang SC;
        font-size: 32px;
        font-weight: normal;
        font-stretch: normal;
        line-height: 45px;
        letter-spacing: 0px;
        color: #333333;
    }
}

.at-input__input{
    padding-right: 22px;
}



.rich-text-title{
    font-size: 34px;
}

.must-fill {
    color: red;
}

.w-e-text-placeholder{
    font-style:normal !important;
    font-size: 28px;
    top: 10px;
}

.w-e-text-container [data-slate-editor] p{
    font-size: 28px;
}

.w-e-text-container [data-slate-editor] p,
.w-e-text-container [data-slate-editor] h1,
.w-e-text-container [data-slate-editor] h2,
.w-e-text-container [data-slate-editor] h3, 
.w-e-text-container [data-slate-editor] h4,
.w-e-text-container [data-slate-editor] h5{
    margin: 10px 0;
}

.w-e-modal{
    top: -155px !important;
}

.at-input {
    margin-left: 15px !important;
}
.lg_check_box_text {
    margin-left: 0px !important;
    font-size: 28px !important;
}

.content {
    font-size: 28px !important;
}